package ATM;


import javax.swing.*;
import java.awt.*;

public class Util {
    public static int random(int strat, int end) {
        return (int) (Math.random() * (end - strat + 1) + strat);
    }

    public static Image getimages(String path) {
        return new ImageIcon(Util.class.getResource(path)).getImage();
    }
    public static Icon getimagesIcon(String path) {
        return new ImageIcon(Util.class.getResource(path));
    }
}